from dealFile import DealFile

d = DealFile()

path = r"D:\sunck.pdf"

#     回调函数
def func(str):
    print(str + "!")

d.readPDF(path, func)